package com.example.clxy.service;

import com.example.clxy.entity.dto.RegDto;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.StudentScorePageResult;
import com.example.clxy.result.business.RegResult;
import com.example.clxy.result.business.StudentScoreResult;
import com.itextpdf.text.DocumentException;

import java.io.IOException;

/**
 * @author weichong
 * date 2020-08-05
 * @Description:
 */
public interface ScoreService {

    WebRestResult updateScore(String scheduleid,String studentid, Double yxscore,Double sykscore,Double sybgscore,String yxscorereason,String sykscorereason,String sybgscoreason,Double sygfxscore,Double sbwhscore,Double xczlscore);

    PageResult<StudentScorePageResult> getStudentScoreBySchedule(String scheduleid, String wlclassid,String studentname, String wlclassname,int page, int pagesize);

    PageResult<StudentScorePageResult> getStudentScoreByStudent(String studentid,String scheduleid, String semesterid, int page, int pagesize);

    void updatePsscoreFinalscore(String scheduleid,String studentid);

    StudentScoreResult mergePdfFilesByStudent(String scheduleid, String studentid) throws IOException, DocumentException;

    WebRestResult updateReg(String dictid,String regscore);

    RegResult getRegList();

    WebRestResult updateReg1(RegDto regDto);
}
